﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace Dynamic.Testing.Config
{
    public class CustomElement : ConfigurationElement
    {
        #region Properties
        /// <summary>
        /// Gets the DateTimeValue setting.
        /// </summary>
        [ConfigurationProperty("dateTimeValue", IsRequired = true)]
        public DateTime DateTimeValue
        {
            get { return (DateTime)base["dateTimeValue"]; }
        }

        /// <summary>
        /// Gets the IntegerValue setting.
        /// </summary>
        [ConfigurationProperty("integerValue")]
        public int IntegerValue
        {
            get { return (int)base["integerValue"]; }
        }
        #endregion
    }
}
